package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-07-22
 */
@Getter
@Setter
@TableName("ml_member_info")
public class MemberInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "uid", type = IdType.AUTO)
    private Long uid;

      private String appCode;
      private String appName;
      private String appType;

    /**
     * 手机号
     */
    private String mobile;

    private String mobileMd5;

    private String ispType;

    /**
     * 用户名
     */
    private String username;

    private String idCard;

    /**
     * 是否已经填写扩展信息
     */
    private Integer extInfoFlag;

    /**
     * 注册来源
     */
    private String channelCode;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private LocalDateTime lastLogintime;

    /**
     * 0 正常 1测试账号  2马甲账户
     */
    private Integer type;

    /**
     * -1 待审核 0 正常  1 锁定 
     */
    private String status;

    private String reqIp;

    private String channelName;

    private String dateInfo;

    private String zhima;
}
